
.f_modal {
  /* Не обязательно  block */
  display: block;
  overflow: visible;
 border-radius: 30px;
  width: 350px;
  max-width: 90%;
  padding: 15px;
  /*height: 365px;*/
  max-height: 100%;
  
  position: fixed;
  
  z-index: 100;
  
  left: 50%;
  top: 50%;
  
  /* Центруем */
  transform: translate(-50%, -50%);
background: #fff001; /* Old Browsers */
background: -webkit-radial-gradient(center,#fff001,#ffc200); /*Safari 5.1-6*/
background: -o-radial-gradient(center,#fff001,#ffc200); /*Opera 11.1-12*/
background: -moz-radial-gradient(center,#fff001,#ffc200); /*Fx 3.6-15*/
background: radial-gradient(ellipse at center, #fff001, #ffc200); /*Standard*/

  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
  
  padding-top: 50px;
  
}

.f_modal.callback_day {
  /* Не обязательно  block */
  display: block;
  overflow: visible;
 border-radius: 30px;
  width: 317px;
  max-width: 90%;
  padding: 15px;
  /*height: 365px;*/
  max-height: 100%;
  
  position: fixed;
  
  z-index: 100;
  
  left: 50%;
  top: 50%;
  
  /* Центруем */
  transform: translate(-50%, -50%);
 background: url("../img/f_day.png") center top no-repeat; 


  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
  
  padding-top:173px;
  
}
.closed {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  
  background: rgba(0, 0, 0, 0.6);
}
.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 20px 50px 20px 20px;
}

.f_modal .close-button {
	position: absolute;
	z-index: 1;
	top: 15px;
	right: 14px;
	cursor: pointer;
	border: 0;
	background: url('../img/close.png') no-repeat;
	color: white;
	padding: 5px 10px;
	font-size: 1.3rem;
	width: 19px;
	height: 17px;
}

.f_modal.callback_day .close-button {
	position: absolute;
	z-index: 1;
	top: 15px;
	right: 14px;
	cursor: pointer;
	border: 0;
	background: url('../img/close2.png') no-repeat;
	color: white;
	padding: 5px 10px;
	font-size: 1.3rem;
	width: 19px;
	height: 17px;
}

.f_modal h2{
    font-size: 30px;
    font-family: "RussiaBold";
    text-align: center;
    padding-top: 10px;
    text-transform: uppercase;
}

.f_modal p{
    font-family: "RobotoLight";
font-size: 14px;
font-style: italic;
text-align: center;
padding-bottom: 20px;
    
}
.f_modal p a{
    font-size: 14px;
}

.f_modal .razmetka2 {
	float: none;
	position: relative;
	max-width: 282px;
	margin-left: auto;
	margin-right: auto;
        left: auto;
bottom: auto;
}

.f_modal .razmetka2 .b_btn{
    margin-top: 0px;
    font-size: 25px;
    width: 100%;
}

.f_modal .sender{
    display: none;
}


.stars {
	background: url("../img/stars.png") center center no-repeat;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 51;
}

.procent {
	background: url("../img/procent.png") center center no-repeat;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 51;
}

.f_spasibo p{
    font-family: "RobotoMedium";
    font-size: 18px;
    text-align: center;
    font-style: normal;
    line-height: normal;
}
